package com.zzb.framework.role.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zzb.framework.common.AbstractBaseMapper;
import com.zzb.framework.role.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权限mapper
 * Created by zhangzhenbin on 17-2-27.
 */
@Mapper
public interface SysRoleMapper extends AbstractBaseMapper<SysRole> {
    List<SysRole> findByUserId(@Param("userId") String userId);
}
